﻿using Asplode;
using Asplode.GameEntity.Weapons;
using BEPUphysics.Entities;
using Microsoft.Xna.Framework;
using Asplode.GameEntity.Characters;

namespace FlyingGamePC.GameEntity.Weapons
{
    public class BoxGun : Weapon
    {
        public BoxGun()
            : base("box gun", 1, -1)
        {
        }

        public override void Shoot(Character character)
        {
            Entity body = character.gameObject.body;
            Vector3 origin = body.centerPosition + (character.rotationVector * 2);
            Vector3 shotAngle = character.rotationVector + Vector3.UnitY * 0.2f;
            shotAngle.Normalize();
            Vector3 acceleration = shotAngle * 10;


            FinishShot();
        }
    }
}
